<template>
  <div style="width: 100%;height: 100%;">
    <iframe :src="src" :style="{width: width, height:height}" frameborder="0"></iframe>
  </div>
</template>

<script>
export default {
  name: "getCamera2",
  data() {
    return {
      src: '',
      height: window.innerHeight + 'px',//自适应当前窗口高度
      width: '100%'//自适应当前窗口宽度
    }
  },
  mounted() {
    this.src = '../../faceLogin1.html';
  }
}
</script>

<style scoped>

</style>
